/*
 * Created by Wildish on 2016-10-28
 *
 * Contact me with keithknight@qq.com
 *
 * Copyright (c) 2016 Wildish
 *
 */

package com.wildish.qcface.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.wildish.qcface.R;

/**
 *
 * Created by Wildish on 2016-10-26.
 */
public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_main);
    }

    /**
     * 初始化face
     * @param view 导入按钮
     */
    public void importFace(View view) {
        Intent intent = new Intent(this, ImportActivity.class);
        startActivity(intent);
    }

    /**
     * 识别face
     * @param view 识别按钮
     */
    public void recFace(View view) {
        Intent intent = new Intent(this, RecActivity.class);
        startActivity(intent);
    }
}
